/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Formulario_eliminar_empleado.java
 *
 * Created on 8/06/2011, 05:34:17 PM
 */
package restaurante;

/**
 *
 * @author JoseManuel
 */
public class Formulario_eliminar_empleado extends javax.swing.JFrame {

    /** Creates new form Formulario_eliminar_empleado */
    public Formulario_eliminar_empleado() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        L_instr_elminar_emp = new javax.swing.JLabel();
        L_titulo_eliminar_emp = new javax.swing.JLabel();
        L_id_emp_eliminar = new javax.swing.JLabel();
        I_id_emp_eliminar = new javax.swing.JTextField();
        L_nom_emp_eliminar = new javax.swing.JLabel();
        L_ape_emp_eliminar = new javax.swing.JLabel();
        L_puesto_emp_eliminar = new javax.swing.JLabel();
        L_depto_emp_eliminar = new javax.swing.JLabel();
        I_nom_emp_eliminar = new javax.swing.JTextField();
        I_ape_emp_eliminar = new javax.swing.JTextField();
        I_puesto_emp_eliminar = new javax.swing.JTextField();
        I_depto_emp_eliminar = new javax.swing.JTextField();
        B_eliminar_emp = new javax.swing.JButton();
        B_cancel_eliminar_emp = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(restaurante.RestauranteApp.class).getContext().getResourceMap(Formulario_eliminar_empleado.class);
        L_instr_elminar_emp.setText(resourceMap.getString("L_instr_elminar_emp.text")); // NOI18N
        L_instr_elminar_emp.setName("L_instr_elminar_emp"); // NOI18N

        L_titulo_eliminar_emp.setText(resourceMap.getString("L_titulo_eliminar_emp.text")); // NOI18N
        L_titulo_eliminar_emp.setName("L_titulo_eliminar_emp"); // NOI18N

        L_id_emp_eliminar.setText(resourceMap.getString("L_id_emp_eliminar.text")); // NOI18N
        L_id_emp_eliminar.setName("L_id_emp_eliminar"); // NOI18N

        I_id_emp_eliminar.setText(resourceMap.getString("I_id_emp_eliminar.text")); // NOI18N
        I_id_emp_eliminar.setName("I_id_emp_eliminar"); // NOI18N

        L_nom_emp_eliminar.setText(resourceMap.getString("L_nom_emp_eliminar.text")); // NOI18N
        L_nom_emp_eliminar.setName("L_nom_emp_eliminar"); // NOI18N

        L_ape_emp_eliminar.setText(resourceMap.getString("L_ape_emp_eliminar.text")); // NOI18N
        L_ape_emp_eliminar.setName("L_ape_emp_eliminar"); // NOI18N

        L_puesto_emp_eliminar.setText(resourceMap.getString("L_puesto_emp_eliminar.text")); // NOI18N
        L_puesto_emp_eliminar.setName("L_puesto_emp_eliminar"); // NOI18N

        L_depto_emp_eliminar.setText(resourceMap.getString("L_depto_emp_eliminar.text")); // NOI18N
        L_depto_emp_eliminar.setName("L_depto_emp_eliminar"); // NOI18N

        I_nom_emp_eliminar.setEditable(false);
        I_nom_emp_eliminar.setText(resourceMap.getString("I_nom_emp_eliminar.text")); // NOI18N
        I_nom_emp_eliminar.setName("I_nom_emp_eliminar"); // NOI18N
        I_nom_emp_eliminar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                I_nom_emp_eliminarActionPerformed(evt);
            }
        });

        I_ape_emp_eliminar.setEditable(false);
        I_ape_emp_eliminar.setText(resourceMap.getString("I_ape_emp_eliminar.text")); // NOI18N
        I_ape_emp_eliminar.setName("I_ape_emp_eliminar"); // NOI18N

        I_puesto_emp_eliminar.setEditable(false);
        I_puesto_emp_eliminar.setText(resourceMap.getString("I_puesto_emp_eliminar.text")); // NOI18N
        I_puesto_emp_eliminar.setName("I_puesto_emp_eliminar"); // NOI18N

        I_depto_emp_eliminar.setEditable(false);
        I_depto_emp_eliminar.setText(resourceMap.getString("I_depto_emp_eliminar.text")); // NOI18N
        I_depto_emp_eliminar.setName("I_depto_emp_eliminar"); // NOI18N

        B_eliminar_emp.setIcon(resourceMap.getIcon("B_eliminar_emp.icon")); // NOI18N
        B_eliminar_emp.setText(resourceMap.getString("B_eliminar_emp.text")); // NOI18N
        B_eliminar_emp.setName("B_eliminar_emp"); // NOI18N

        B_cancel_eliminar_emp.setIcon(resourceMap.getIcon("B_cancel_eliminar_emp.icon")); // NOI18N
        B_cancel_eliminar_emp.setText(resourceMap.getString("B_cancel_eliminar_emp.text")); // NOI18N
        B_cancel_eliminar_emp.setName("B_cancel_eliminar_emp"); // NOI18N
        B_cancel_eliminar_emp.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                B_cancel_eliminar_empActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(83, 83, 83)
                        .addComponent(L_instr_elminar_emp))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(143, 143, 143)
                        .addComponent(L_titulo_eliminar_emp))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(29, 29, 29)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(L_id_emp_eliminar)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(L_ape_emp_eliminar)
                                .addComponent(L_nom_emp_eliminar))
                            .addComponent(L_puesto_emp_eliminar)
                            .addComponent(L_depto_emp_eliminar))
                        .addGap(35, 35, 35)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(I_id_emp_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, 193, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(I_nom_emp_eliminar, javax.swing.GroupLayout.DEFAULT_SIZE, 239, Short.MAX_VALUE)
                            .addComponent(I_ape_emp_eliminar)
                            .addComponent(I_puesto_emp_eliminar)
                            .addComponent(I_depto_emp_eliminar)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addGap(44, 44, 44)
                                .addComponent(B_cancel_eliminar_emp)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(B_eliminar_emp)))))
                .addContainerGap(39, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(L_titulo_eliminar_emp)
                .addGap(38, 38, 38)
                .addComponent(L_instr_elminar_emp)
                .addGap(26, 26, 26)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_id_emp_eliminar)
                    .addComponent(I_id_emp_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(33, 33, 33)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(L_nom_emp_eliminar)
                    .addComponent(I_nom_emp_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(29, 29, 29)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_ape_emp_eliminar)
                    .addComponent(I_ape_emp_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(L_puesto_emp_eliminar)
                    .addComponent(I_puesto_emp_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(24, 24, 24)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(I_depto_emp_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(L_depto_emp_eliminar))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 59, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(B_eliminar_emp)
                    .addComponent(B_cancel_eliminar_emp))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void I_nom_emp_eliminarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_I_nom_emp_eliminarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_I_nom_emp_eliminarActionPerformed

    private void B_cancel_eliminar_empActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_B_cancel_eliminar_empActionPerformed
        // TODO add your handling code here:
        Formulario_eliminar_empleado.this.setVisible(false);
    }//GEN-LAST:event_B_cancel_eliminar_empActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new Formulario_eliminar_empleado().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton B_cancel_eliminar_emp;
    private javax.swing.JButton B_eliminar_emp;
    private javax.swing.JTextField I_ape_emp_eliminar;
    private javax.swing.JTextField I_depto_emp_eliminar;
    private javax.swing.JTextField I_id_emp_eliminar;
    private javax.swing.JTextField I_nom_emp_eliminar;
    private javax.swing.JTextField I_puesto_emp_eliminar;
    private javax.swing.JLabel L_ape_emp_eliminar;
    private javax.swing.JLabel L_depto_emp_eliminar;
    private javax.swing.JLabel L_id_emp_eliminar;
    private javax.swing.JLabel L_instr_elminar_emp;
    private javax.swing.JLabel L_nom_emp_eliminar;
    private javax.swing.JLabel L_puesto_emp_eliminar;
    private javax.swing.JLabel L_titulo_eliminar_emp;
    // End of variables declaration//GEN-END:variables
}
